import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Scanner;

//汽车租赁管理类
public class CarLeaseManagement {
    //public static List<Car> carList=new ArrayList<Car>();

    public static void main(String[] args) {
        //轿车
        SaloonCar[] saloonCars={new SaloonCar("别克英朗","京A001",5,500,"656531"),
                   new SaloonCar("吉利-宋","京A002",5,600,"658215"),
                   new SaloonCar("吉利-宋","京A003",5,600,"897615"),
                   };
        //客车
        PassengerCar[] passengerCars={new PassengerCar("金龙大客","京A005",16,900)};
        CarBusiness.saloonCarList.addAll(Arrays.asList(saloonCars));
        CarBusiness.passengerCarList.addAll(Arrays.asList(passengerCars));
        System.out.println("金路至尊租赁有限公司欢迎您，请致电13917935395洽谈相关租赁业务");
        int num=CarBusiness.saloonCarList.size()+CarBusiness.passengerCarList.size()+CarBusiness.busList.size();//可租车数量
        System.out.println("本公司现有"+ num+"车可租");
        CarBusiness.menu();
    }

}
